<div class="homeactive">
<div id="con">
    <ul class="el">
    <!--{loop $feeds $value}-->
    <!--{subtemplate home/space_feed_li}-->
    <!--{/loop}-->
    </ul>
</div>
<div class="activebg"></div>
</div>


<script language="javascript">
jQuery(function(){
	var scrtime;
 	jQuery("#con").hover(function(){
		clearInterval(scrtime);
	
	},function(){
	scrtime = setInterval(function(){
		var jQueryul = jQuery("#con ul");
		var liHeight = jQueryul.find("li:last").height();
		jQueryul.animate({marginTop : liHeight+20 +"px"},1000,function(){
		jQueryul.find("li:last").prependTo(jQueryul)
		jQueryul.find("li:first").hide();
		jQueryul.css({marginTop:0});
		jQueryul.find("li:first").fadeIn(1000);
		});	
	},3000);
	}).trigger("mouseleave");
	
});
</script>
